home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / tbrl31.zip / TBRL.DOC < prev    next >
Text File  |  1992-08-02  |  64KB  |  1,734 lines

  1.  
  2.  
  3.  
  4.         
  5.         
  6.         
  7.         
  8.         
  9.         
  10.         
  11.         
  12.         
  13.         
  14.         
  15.                        TURBO BRAILLE
  16.         
  17.                          Version 3
  18.         
  19.                  Another Sound Alternative
  20.         
  21.                            from
  22.         
  23.                        KANSYS, Inc.
  24.                        1016 Ohio St.
  25.                     Lawrence, KS 66044
  26.         
  27.                   Telephone 913-843-0351
  28.                       or 800-279-4880
  29.         
  30.                  Copyright (c) 1989 - 1992
  31.                    All rights reserved.
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.         
  39.         
  40.         
  41.                      Table Of Contents
  42.         
  43.         I. Introduction ......................1
  44.         
  45.         II. Getting Started ..................2
  46.         
  47.         III. Examples ........................3
  48.         
  49.         IV. Using Help Screens ...............6
  50.         
  51.         V. What You May Enter ................6
  52.              1. Types Of Input Files .........7
  53.              2. Files Not Processed ..........7
  54.         
  55.         VI. Types Of Outputs .................7
  56.         
  57.         VII. Modes Of Operation ..............8
  58.         
  59.         VIII. Saving Program Setups ..........9
  60.         
  61.         IX. Commands And Switches ............9
  62.              1. Formatting Commands ..........14
  63.              2. Dot Commands .................16
  64.              3. Imbedded Commands ............29
  65.         
  66.         X. Why WordStar? .....................31
  67.         
  68.                         Appendices
  69.         
  70.         A: Turbo Braille Translation
  71.              Rules ...........................33
  72.         
  73.         B: History Of KanSys, Inc. ...........37
  74.         
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.                        Introduction
  82.         
  83.              Turbo Braille is an MS-DOS  program 
  84.         that translates source documents into 
  85.         standard English braille. It is fast, 
  86.         accurate, inexpensive, and easy to use. It 
  87.         accepts WordPerfect and WordStar source 
  88.         documents directly, as well as printer-
  89.         ready ASCII text files. It produces output 
  90.         in Grade I, Grade II, or Grade III braille. 
  91.         It can also format text without translating 
  92.         it, a mode which we call "Grade 0" braille.
  93.         
  94.              Turbo Braille does many things right 
  95.         the first time, without user assistance. 
  96.         There is also a powerful formatting 
  97.         language to let you fine-tune the finished 
  98.         product to your most exacting requirements. 
  99.         This manual describes how to use the Turbo 
  100.         Braille program and its formatting 
  101.         language. Most of the information in this 
  102.         manual is also available on-line in the 
  103.         Turbo Braille interactive mode.
  104.         
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.                       Getting Started
  112.         
  113.         Turbo Braille consists of two essential 
  114.         files and one optional file, all of which 
  115.         must be placed together in the same 
  116.         directory for proper operation of the 
  117.         program. The file names and their contents 
  118.         are as follows:
  119.         
  120.              (1) TBRL.EXE -- The Turbo Braille 
  121.         executable program;
  122.         
  123.              (2) TBRL.XLT -- The translation rules 
  124.         used by the program;
  125.         
  126.              (3) TBRL.HLP -- The on-line Help File 
  127.         (optional).
  128.         
  129.              If the directory containing these 
  130.         three files is on the DOS path, you can 
  131.         move at any time to another directory where 
  132.         you keep your documents and do all your 
  133.         brailling work from there. You may use a 
  134.         Turbo Braille command to create another 
  135.         file for storing various program settings, 
  136.         so that you do not have to enter them each 
  137.         time you need them.
  138.         
  139.              (4) TBRL.CFG -- Setup or Configuration 
  140.         file (optional).
  141.         
  142.         This fourth file can be created in the 
  143.         directory where the other three files are 
  144.         located (a global setup), in the directory 
  145.         where your documents are located (a local 
  146.         setup), or in both if you wish. Since you 
  147.         can have several directories containing 
  148.         documents, you can have a local Setup file 
  149.         associated with each, perhaps containing 
  150.         settings designed for only certain 
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.         documents.
  158.         
  159.                          Examples
  160.         
  161.              (1). To create a braille document 
  162.         called "DOCUMENT.BRL" from a WordPerfect 
  163.         document called "DOCUMENT.WP" do the 
  164.         following:
  165.              (a) Log onto the directory containing 
  166.         the file to be translated, and at the DOS 
  167.         prompt, type:
  168.                      TBRL DOCUMENT.WP
  169.              (b) The directory now contains the 
  170.         file "DOCUMENT.BRL" in addition to the 
  171.         original WordPerfect file. This file may be 
  172.         printed using the DOS "PRINT DOCUMENT.BRL" 
  173.         command or the DOS "COPY DOCUMENT.BRL PRN" 
  174.         command.
  175.         
  176.              (2). To create a "braille intermediate 
  177.         file" called "DOCUMENT.BIF" from a 
  178.         WordPerfect file called "DOCUMENT.WP" do 
  179.         the following:
  180.              (a) Log onto the directory containing 
  181.         the file to be translated, and at the DOS 
  182.         prompt, type:
  183.                    TBRL /M1 DOCUMENT.WP
  184.              (b) The directory now contains the 
  185.         file "DOCUMENT.BIF" in addition to the 
  186.         original WordPerfect file. This file may be 
  187.         edited with an ASCII editor to improve the 
  188.         formatting of the document.
  189.         
  190.              (3). To create a braille document 
  191.         called "DOCUMENT.BRL" from a "braille 
  192.         intermediate file" called "DOCUMENT.BIF" do 
  193.         the following:
  194.              (a) Log onto the directory containing 
  195.         the file to be translated, and at the DOS 
  196.         prompt, type:
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.                      TBRL DOCUMENT.BIF
  204.              (b) The directory now contains the 
  205.         file "DOCUMENT.BRL" in addition to the 
  206.         original BIF file. This file may be printed 
  207.         using the DOS "PRINT DOCUMENT.BRL" command 
  208.         or the DOS "COPY DOCUMENT.BRL PRN" command.
  209.         
  210.              (4). To create a global setup 
  211.         containing a default right margin of 30 
  212.         cells and a default page length of 25 
  213.         lines, at any DOS prompt enter the 
  214.         following:
  215.                    TBRL .RM30 .PL25 /SG
  216.         
  217.              (5) To translate a file into braille, 
  218.         sending the output directly to the braille 
  219.         embosser, do the following:
  220.              (a) Log onto the directory containing 
  221.         the file to be translated, and at the DOS 
  222.         prompt, type:
  223.                    TBRL /W1 DOCUMENT.WP
  224.              (b) The directory containing the file  
  225.         "DOCUMENT.WP" is not modified.
  226.         
  227.              (6) To translate a file into braille, 
  228.         sending six copies of the output directly 
  229.         to the braille embosser, do the following:
  230.              (a) Log onto the directory containing 
  231.         the file to be translated, and at the DOS 
  232.         prompt, type:
  233.                  TBRL /C6 /W1 DOCUMENT.WP
  234.              (b) The directory containing the file  
  235.         "DOCUMENT.WP" is not modified.
  236.         
  237.              (7). To translate the file 
  238.         "DOCUMENT.WP" into Grade 3 braille, sending 
  239.         the output directly to the braille 
  240.         embosser, do the following:
  241.              (a) Log onto the directory containing 
  242.         the file to be translated, and at the DOS 
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.         prompt, type:
  250.                  TBRL /W1 .GR3 DOCUMENT.WP
  251.              (b) The directory containing the file  
  252.         "DOCUMENT.WP" is not modified.
  253.         
  254.              (8). To define a new printer to be 
  255.         called "Printer #3" do the following:
  256.              (a) At any DOS prompt, enter 
  257.         interactive mode by typing:
  258.                            TBRL
  259.              (b). Select Printer #3 by typing:
  260.                             /P3
  261.              (c) When prompted to select C Change, 
  262.         D Drop, or K Keep, choose C Change.
  263.              (d) Answer the prompts for maximum 
  264.         lines per page, maximum cells per line, and 
  265.         method of finishing short pages (add blank 
  266.         lines or use formfeeds).
  267.              (e). Now back at the earlier pprompt, 
  268.         choose K Keep.
  269.              (f). To save this definition in a 
  270.         local or global setup, type /SL or /SG at 
  271.         the Turbo Braille interactive prompt 
  272.         TBRL3>.
  273.              (g). To exit the interactive mode, 
  274.         press Enter at the TBRL3> prompt, and 
  275.         answer Y Yes to the Exit confirmation 
  276.         question.
  277.         
  278.              (9). To translate a file formatted for 
  279.         Printer #3, using a "no fill" and a "lower 
  280.         case" format, do the following:
  281.              (a) Log onto the directory containing 
  282.         the file to be translated, and at the DOS 
  283.         prompt, type:
  284.                TBRL /F3 .NF .LC DOCUMENT.WP
  285.              (b) The directory now contains the 
  286.         file  "DOCUMENT.BRL" which can be printed 
  287.         with a DOS command.
  288.         
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.                     Using Help Screens
  296.         
  297.              You may move around and explore the 
  298.         help screens by typing N for the Next 
  299.         screen, by typing P for the previous 
  300.         screen, by typing Q for Quit, or by typing 
  301.         J and a number to jump to a specific 
  302.         screen.  Both upper and lower case letters 
  303.         are recognized.  Enter your selection and 
  304.         press the return key.  You will return to 
  305.         the Turbo Braille pprompt "TBRL3>" when you 
  306.         are finished.  To exit from Turbo Braille, 
  307.         at the TBRL3> prompt, press return and 
  308.         follow directions.
  309.         
  310.                     What You May Enter
  311.         
  312.              At the TBRL3-> prompt you may enter:  
  313.         (1) an input file name, possibly an 
  314.         ambiguous one with the DOS wild card 
  315.         characters "*" or "?"; (2) a Turbo Braille 
  316.         command, beginning with a slash or a dash 
  317.         to distinguish it from a dot command or a 
  318.         file name, followed by a letter and a 
  319.         number; (3) a Turbo Braille "dot command," 
  320.         beginning with a period to distinguish it 
  321.         from a file name and other Turbo Braille 
  322.         commands, followed by two characters and 
  323.         possibly other optional information.
  324.         
  325.              If you enter the name of a file, Turbo 
  326.         Braille will examine it and figure out what 
  327.         kind of file it is from the contents of the 
  328.         file.
  329.         
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.                    Types Of Input Files
  337.         
  338.              You may enter the name of a WordStar 
  339.         document file, a WordPerfect document file, 
  340.         an ASCII file formatted for printing, or a 
  341.         "Braille Intermediate File" created 
  342.         automatically by Turbo Braille, or directly 
  343.         with the help of an ASCII editor.  A "BIF 
  344.         file" contains the text of the original 
  345.         document in ASCII format together with 
  346.         formatting commands intended for Turbo 
  347.         Braille.  You may edit these formatting 
  348.         commands for precise control over the 
  349.         resulting braille document.
  350.         
  351.                     Files Not Processed
  352.         
  353.              When using wild card characters, it is 
  354.         easy to specify more files than you intend.  
  355.         Therefore files with certain file name 
  356.         extensions will not be processed by Turbo 
  357.         Braille.  These are the DOS file 
  358.         extensions .COM, .EXE, .LIB, .OBJ, 
  359.         and .SYS; the backup file extensions .BAK 
  360.         and .BK!; the data compression file 
  361.         extensions .ARC, .LZH, .ZIP, and .ZOO; and 
  362.         the KANSYS Inc. file extensions .BRL, .CFG, 
  363.         and .PVX.  Files with these extensions are 
  364.         unlikely to contain text and must be 
  365.         renamed if they are to be processed.
  366.         
  367.                      Types Of Outputs
  368.         
  369.              You may want to create a BIF file 
  370.         automatically from WordStar documents, 
  371.         WordPerfect documents, or ASCII printer 
  372.         files; or you may want to produce a 
  373.         finished braille document from BIF files, 
  374.         or directly from WordStar files, 
  375.         WordPerfect files, or ASCII printer files.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.         You may want to send the resulting braille 
  383.         translation directly to an embosser 
  384.         attached to your computer, or write it to a 
  385.         disk file for later printing or further 
  386.         processing.
  387.         
  388.                     Modes Of Operation
  389.         
  390.              The program operates in a batch mode 
  391.         and in an interactive mode.  In the batch 
  392.         mode the file names and commands (or 
  393.         "switches") follow the program name on the 
  394.         command line and are processed strictly 
  395.         from left to right.  Switches and dot 
  396.         commands affecting a given file must appear 
  397.         before the name of the file, to its left on 
  398.         the command line.  In the interactive mode 
  399.         they are given one at a time at the prompt 
  400.         as needed.  The batch mode switches and 
  401.         interactive mode commands are identical 
  402.         with three exceptions:  there is a "/D" 
  403.         command but no "/D" switch, there is a "/P" 
  404.         command but no "/P" switch, and there is a 
  405.         "/X" command but no "/X" switch.  There is 
  406.         a total of only a dozen commands and nine 
  407.         switches.
  408.         
  409.              To operate Turbo Braille in the batch 
  410.         mode, enter any desired switches, dot 
  411.         commands, and file names on the command 
  412.         line, but do not use the /H switch.  If 
  413.         other commands and file names are included 
  414.         as well as the /H switch, Turbo Braille 
  415.         first completes all requested batch mode 
  416.         processing and then enters interactive 
  417.         mode.  To operate Turbo Braille in the 
  418.         interactive mode, enter the program name 
  419.         with no switches or file names on the 
  420.         command line, or include only the /H switch 
  421.         on the command line.
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.         
  429.                    Saving Program Setups
  430.         
  431.              The program setup may be saved in your 
  432.         current directory (a local setup) or in the 
  433.         directory where the program files are 
  434.         stored (a global setup).  A saved setup is 
  435.         recalled automatically when Turbo Braille 
  436.         starts execution.  A local setup is used if 
  437.         present; otherwise a global setup is used.  
  438.         The /SL command saves a local setup, while 
  439.         the /SG command saves a global one.  The 
  440.         batch mode switches /SL and /SG are also 
  441.         available.
  442.         
  443.                    Commands And Switches
  444.         
  445.              The following commands and switches 
  446.         are available in batch mode and in 
  447.         interactive mode.  The leading slash shown 
  448.         with each switch or command may be replaced 
  449.         by a leading dash.
  450.         
  451.              /C -- Produce multiple copies of a 
  452.         braille document.  The requested number of 
  453.         copies may all be sent to the printer or 
  454.         they may all be written to a file.  The 
  455.         default value is one; one copy is produced.  
  456.         Usage:
  457.                            /C###
  458.         where "###" is the number of copies 
  459.         desired.
  460.         
  461.              /D -- Shell to DOS.  Turbo Braille 
  462.         lets you "shell to DOS" in order to execute 
  463.         a single DOS command without leaving Turbo 
  464.         Braille.  To perform several DOS commands, 
  465.         use this switch to execute the DOS command 
  466.         called "COMMAND." In that case you must 
  467.         type "EXIT" to return to TurboBraille.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.         Usage:
  475.                             /D
  476.                         /D:command
  477.         where "command" is the DOS command to 
  478.         execute.  If you do not follow the "/D" 
  479.         with a colon and a command, Turbo Braille 
  480.         prompts for the DOS command to execute.
  481.         
  482.              /F -- Format output for a specific 
  483.         printer.  Printer #0 is the default 
  484.         printer.  Other printers may be defined 
  485.         with the /P command and selected for 
  486.         formatting by the /F switch or command.  
  487.         You may not select a printer with /F that 
  488.         has not been defined with the /P command.  
  489.         Usage:
  490.                             /F#
  491.         where "#" is a digit indicating the desired 
  492.         printer, or may be "?" (interactive mode 
  493.         only) to show the current setting.  See 
  494.         also the "/P" command.
  495.         
  496.              /H -- Help file (this file) display.  
  497.         Using the /H switch in the batch mode 
  498.         automatically changes the batch run into an 
  499.         interactive run.  Usage:
  500.                             /H
  501.         where there are no arguments.
  502.         
  503.              /J -- Jump over pages at start of 
  504.         braille document before producing output.  
  505.         The default value is 0; no pages are jumped 
  506.         over.  Usage:
  507.                            /J###
  508.         where "###" is the number of pages to jump 
  509.         over.  See also the "/Q" command.
  510.         
  511.              /M -- Make .BIF files, .BRL files, or 
  512.         both files, from the original input 
  513.         documents.  The default value "2" creates a 
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.         braille document only, with the extension 
  521.         ".BRL", and sends it to the printer or to a 
  522.         file as directed by the /W switch or 
  523.         command.  Usage:
  524.                             /M#
  525.         where "#" is in the range 0 through 3, or 
  526.         may be "?" (interactive mode only) to show 
  527.         the current setting.  "0" makes no output; 
  528.         "1" makes a .BIF file; "2" makes a .BRL 
  529.         file; and "3" makes both.  See also the 
  530.         "/W" command.
  531.         
  532.              /P -- Printer definition for up to ten 
  533.         printers.  These definitions may differ in 
  534.         maximum page lenngths, maximum line widths, 
  535.         and page break method.  This is an 
  536.         interactive mode command only; not 
  537.         available as a switch.  Printer #0 is 
  538.         defined as a maximum of 27 lines by 40 
  539.         cells with a form feed following each page, 
  540.         and may not be user modified.  Printers #1 
  541.         through #9 must be user defined.  Usage:
  542.                             /P#
  543.         where "#" is in the range 0 through 9, or 
  544.         may be "?" to show the currently defined 
  545.         printers.  See also the "/F" command.
  546.         
  547.              /Q -- Quit producing braille output 
  548.         after processing a specified number of 
  549.         pages.  The default value is 0; the 
  550.         document is processed all the way to the 
  551.         end.  Usage:
  552.                            /Q###
  553.         where "###" is the number of pages to quit 
  554.         after.  See also the "/J" command.  The two 
  555.         commands /J10 /Q12 would produce two pages 
  556.         of output, not twelve.
  557.         
  558.              /S -- Show or save the current setup.  
  559.         The three variations /S?, /SL, and /SG are 
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.         available to show the data in the current 
  567.         setup, to save it locally in the current 
  568.         directory, or to save it globally in the 
  569.         directory where Turbo Braille is stored.  
  570.         If the current directory is the one where 
  571.         Turbo Braille is stored, then /SL and /SG 
  572.         are identical.  Usage:
  573.                             /Sx
  574.         where "x" may be "?" (interactive mode 
  575.         only) to show the contents of the setup, 
  576.         "L" for local save, or "G" for global save.
  577.         
  578.              /V -- Set the verbosity level of the 
  579.         program.  The default value "0" produces 
  580.         very few messages during program execution.  
  581.         Larger values produce more messages.  
  582.         Usage:
  583.                             /V#
  584.         where "#" is a digit in the range 0 through 
  585.         9, or may be "?" (interactive mode only) to 
  586.         show the current setting.
  587.         
  588.              /W -- Write braille document to the 
  589.         printer (the DOS PRN device), to a disk 
  590.         file, or to both.  The default value "2" 
  591.         writes to a disk file for later printing or 
  592.         further processing.  Usage:
  593.                             /W#
  594.         where "#" is a digit in the range 0 through 
  595.         3, or may be "?" (interactive mode only) to 
  596.         show the current setting.  "0" discards 
  597.         braille output, even if requested by /M2 or 
  598.         /M3; "1" writes directly to the attached 
  599.         printer; "2" writes to a file using 
  600.         the .BRL extension; "3" writes both to the 
  601.         printer and to a file.  See also the "/M" 
  602.         command.
  603.         
  604.              /X -- String definition for up to ten 
  605.         escape sequences.  These escape sequences 
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.         may select the printer paper length, set 
  613.         top of form, switch between text and 
  614.         graphics mode, set six or eight dot braille 
  615.         cells, or other hardware specific features.  
  616.         This is an interactive mode command only; 
  617.         not available as a switch.  All escape 
  618.         sequences, #0 through #9, must be user 
  619.         defined.
  620.         
  621.              Once an escape sequence has been 
  622.         defined, it may be invoked by placing the 
  623.         corresponding dot command on the command 
  624.         line.  That is, dot command .X0 invokes the 
  625.         string defined by /X0, .X1 invokes the /X1 
  626.         string, etc.  Strings may be up to 80 
  627.         characters in length.  Control characters 
  628.         are entered as two characters, a caret (^) 
  629.         followed by the desired control character.  
  630.         Thus ^C is CTRL-C, ^J is linefeed, ^M is 
  631.         carraige return, ^X is CTRL-X, and ^[ is 
  632.         the ASCII escape character.  Letters 
  633.         following the caret may be either upper or 
  634.         lower case.  Characters not following a 
  635.         caret are processed without modification, 
  636.         just as they were entered.  Please consult 
  637.         your embosser manual to learn which escape 
  638.         sequences to use for which printer 
  639.         features.  Usage:
  640.                             /X#
  641.         where "#" is a digit in the range 0 through 
  642.         9, or may be "?" to show the currently 
  643.         defined sequences.  See also the ".X#" dot 
  644.         command.
  645.         
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.                     Formatting Commands
  653.         
  654.              Formatting is controlled by dot 
  655.         commands and imbedded commands.  Turbo 
  656.         Braille automatically inserts some commands 
  657.         of each type when creating a BIF file or a 
  658.         finished braille document directly from a 
  659.         source document; none are inserted when 
  660.         translating a BIF file into braille.  You 
  661.         may manually add other dot commands and 
  662.         imbedded commands to those automatically 
  663.         inserted in a BIF file for more precise 
  664.         control of the finished product.
  665.         
  666.              Each dot command in a BIF file is 
  667.         complete on one line; it does not share a 
  668.         line with the text of the document.  Dot 
  669.         commands are identified by a leading dot or 
  670.         period, which must appear in position one 
  671.         of the line.  Lines starting with two dots 
  672.         or periods are treated as comments, and are 
  673.         ignored by Turbo Braille.  The dot commands 
  674.         automatically inserted by Turbo Braille 
  675.         are:  ".CE" center the next line; ".SP" 
  676.         insert a blank line; ".BR" start a new 
  677.         line; ".PP" start a new paragraph; ".PN" 
  678.         new page number detected in the source 
  679.         document; ".IT" italicize the text on the 
  680.         next line.
  681.         
  682.              Some dot commands (e.g., .GR, .PL, 
  683.         and .RM) affect the global format of the 
  684.         entire document, and others 
  685.         (e.g., .CE, .PP, and .SP) affect the 
  686.         immediate local format.  Those that affect 
  687.         global format may appear on the command 
  688.         line or at the TBRL3> prompt, as well as 
  689.         within a BIF file.  Those that affect 
  690.         immediate local format may appear only 
  691.         within a BIF file.  The dot commands 
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.         affecting the global format of a document 
  699.         are:
  700.              (1) .bl (Bottom Line of odd pages, 
  701.         even pages, or every page)
  702.              (2) .bp (Begin new page and change 
  703.         Braille Page Number)
  704.              (3) .dv (Divider Lines for folding 
  705.         paper)
  706.              (4) .fi (Fill Lines)
  707.              (5) .gr (Grade of Braille Translation)
  708.              (6) .in (Indentation)
  709.              (7) .lc (Lower Case)
  710.              (8) .mc (Mixed Case)
  711.              (9) .nf (No Fill)
  712.              (10) .pl (Page Length in lines)
  713.              (11) .po (Page Offset)
  714.              (12) .rh (Running Head)
  715.              (13) .rm (Right Margin)
  716.              (14) .tl (Top Line of odd pages, even 
  717.         pages, or every page)
  718.         
  719.              Imbedded commands may appear in a BIF 
  720.         file on the same line as the text of your 
  721.         document.  They may occur between words, or 
  722.         even within a word.  Imbedded commands are 
  723.         identified by a leading backslash character 
  724.         "\" followed by a single character to 
  725.         specify a particular command.  Two 
  726.         successive backslash characters in a BIF 
  727.         file are treated as an ordinary backslash 
  728.         within the document.  The imbedded commands 
  729.         automatically inserted into a BIF file by 
  730.         Turbo Braille are:  "\\" place a single 
  731.         backslash character into the text; "\_" 
  732.         begin or end underlining text; "\!" begin 
  733.         or end boldface text; and the three "spring 
  734.         characters" which expand when translated to 
  735.         push surrounding text toward the margins.  
  736.         These are "\:" to spread spaces, "\." to 
  737.         spread the standard braille guide dot, and 
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.         "\-" to spread a solid line, such as that 
  745.         used for the print page separator.  Turbo 
  746.         Braille uses italics for both underlining 
  747.         and boldface as well as true italics in the 
  748.         source document.
  749.         
  750.                        Dot Commands
  751.         
  752.              Below is an alphabetic list of valid 
  753.         dot commands with a brief discussion of 
  754.         each one.  Each dot command occupies a 
  755.         complete line of the BIF file, and consists 
  756.         of a dot or period in position one, two 
  757.         letters in positions two and three 
  758.         specifying the command, and in many cases 
  759.         one or more optional arguments providing 
  760.         additional information.
  761.         
  762.                           (1) .BL
  763.         
  764.              Bottom Line:  The bottom line of each 
  765.         braille page may be used for text or may 
  766.         contain a running title.  It may also 
  767.         contain no page number, a roman or arabic 
  768.         braille page number, or a print page number 
  769.         at the right margin.  Identical running 
  770.         titles and page numbers may be placed on 
  771.         every page, or they may be separately 
  772.         specified for odd numbered pages and even 
  773.         numbered pages.  Usage:
  774.                           .BL x,y
  775.                          .BL x,y,1
  776.                          .BL x,y,2
  777.         where "x" is 0, 1, 2, or 3, for text on the 
  778.         bottom line, blank space on the bottom 
  779.         line, a left adjusted running title, or a 
  780.         centered running title; and where "y" is 0, 
  781.         1, 2, or 3 for no page number, roman 
  782.         braille page number, arabic braille page 
  783.         number, or print page number.  The optional 
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.         1 or 2 in the third position applies the 
  791.         specification to odd numbered pages (1) or 
  792.         to even numbered pages (2).  The default 
  793.         value is ".BL 0,0" to use the bottom line 
  794.         for text only, with no page numbers, on all 
  795.         pages.  See also ".PN", ".TL", and ".RH".
  796.         
  797.                           (2) .BP
  798.         
  799.              Begin Page:  This command starts a new 
  800.         braille page.  It works only when not 
  801.         already at the top of a page.  You may also 
  802.         change the page number of the page to be 
  803.         started by including the desired page 
  804.         number with the command.  The page number 
  805.         may be relative to the present braille page 
  806.         or an arbitrary new page number.  If no new 
  807.         page number is requested, the present page 
  808.         number plus one is used.  If already 
  809.         positioned at the top of a page or at the 
  810.         start of the file, this command affects 
  811.         page numbering, but will not skip a page, 
  812.         which would leave a blank page in the 
  813.         document.  Usage:
  814.                             .BP
  815.                            .BP n
  816.                           .BP +n
  817.                           .BP -n
  818.         where "n" is the number of the new braille 
  819.         page, and "+n" or "-n" are relative to the 
  820.         present page number.  See also ".PN".
  821.         
  822.                           (3) .BR
  823.         
  824.              Break:  Normally, Turbo Braille 
  825.         ignores line breaks in the BIF file and 
  826.         produces filled lines of text in the 
  827.         braille output.  This command lets you 
  828.         arbitrarily start a new braille line, even 
  829.         if more text would fit on the current line.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.         It is the Turbo Braille equivalent of the 
  837.         "hard carriage return" used in word 
  838.         processors.  Usage:
  839.                             .BR
  840.         where there are no arguments. See also 
  841.         ".FI" and ".NF".
  842.         
  843.                           (4) .CE
  844.         
  845.              Center:  The next line or lines of 
  846.         text in the BIF file are centered in the 
  847.         braille output.  A line too long for the 
  848.         width of the braille page is divided into 
  849.         two or three partsat convenient places, and 
  850.         each part is independently centered.  
  851.         Usage:
  852.                             .CE
  853.                            .CE n
  854.         where "n" specifies how many lines that 
  855.         follow should be centered.  If no argument 
  856.         is used, the value "1" is assumed.
  857.         
  858.                           (5) .DV
  859.         
  860.              Divider:  This command places a line 
  861.         of braille dots two and five across the 
  862.         braille page at specified line locations so 
  863.         that the page may later be folded.  You may 
  864.         specify one or two lines to fold the page 
  865.         in halves or in thirds.  Usage:
  866.                             .DV
  867.                            .DV n
  868.                           .DV n,n
  869.                 where "n" is the number of the line 
  870.         or lines to fill with braille dots two and 
  871.         five.  If no arguments are used, any 
  872.         previous request is canceled.
  873.         
  874.                           (6) .FI
  875.         
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.              Fill:  Normally, Turbo Braille ignores 
  883.         line breaks in the BIF file and produces 
  884.         filled lines of text in the braille output.  
  885.         This command restores that condition 
  886.         (called "filling") after it has been 
  887.         suspended with the .NF command.  Usage:
  888.                             .FI
  889.         where there are no arguments. See also 
  890.         ".BR" and ".NF".
  891.         
  892.                           (7) .GR
  893.         
  894.              Grade:  The grade of braille 
  895.         translation is selected with this command.  
  896.         Grade 2 is the standard used for braille 
  897.         publications.  Grade 1 uses the same 
  898.         composition rules as Grade 2, but is not 
  899.         contracted.  Grade 0 uses the same filling 
  900.         of lines and formation of pages as grades 1 
  901.         and 2, but passes all text directly to the 
  902.         output.  Grade 3 is a highly compressed and 
  903.         contracted form of braille, used by many 
  904.         persons in preparing and maintaining 
  905.         personal documents.  Usage:
  906.                            .GR n
  907.         where "n" is 0, 1, 2, or 3, for the grade 
  908.         of braille translation desired.  The 
  909.         default is grade 2.  See also the imbedded 
  910.         commands "\0", "\1", "\2", and "\3".
  911.         
  912.                           (8) .HL
  913.         
  914.              Horizontal Line:  This command is used 
  915.         to insert twelve cells of dots two and five 
  916.         in the center of a braille line.  It 
  917.         produces the standard "termination line" 
  918.         used to separate successive articles, as in 
  919.         braille magazine format.  Usage:
  920.                             .HL
  921.         where there are no arguments.
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.         
  929.                           (9) .IN
  930.         
  931.              Indent:  This command indents all 
  932.         lines of text that follow, until another 
  933.         indentation level is specified.  A value 
  934.         must be specified, which may be given 
  935.         relative to the current indentation or as 
  936.         the number of positions to indent beyond 
  937.         any page offset.  Usage:
  938.                            .IN #
  939.                           .IN +#
  940.                           .IN -#
  941.         where "#" is the number of positions to 
  942.         indent, and "+#" or "-#" are relative to 
  943.         the current indentation.  See also ".PO", 
  944.         ".PP", ".RM", and ".TI".
  945.         
  946.                          (10) .IT
  947.         
  948.              Italics:  The line or lines of text 
  949.         that follow in the BIF file are italicized 
  950.         in the braille output.  The italicized text 
  951.         is not prevented from being filled with 
  952.         earlier or later text.  Lines of text may 
  953.         be both italicized and centered.  This 
  954.         command may immediately precede or follow 
  955.         the command for centering.  A centered line 
  956.         that is only partially italicized may not 
  957.         use this command; the imbedded commands for 
  958.         underscore and boldface are used instead.  
  959.         Usage:
  960.                             .IT
  961.                            .IT #
  962.         where "#" specifies how many lines that 
  963.         follow should be italicized. The default 
  964.         value is one.  See also the imbedded 
  965.         commands "\_" and "\!".
  966.         
  967.                          (11) .LC
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.         
  975.              Lower Case:  Normally, Turbo Braille 
  976.         uses standard composition signs to indicate 
  977.         capitalization.  This command suspends the 
  978.         use of those signs and treats all text as 
  979.         lower case.  Usage:
  980.                             .LC
  981.         where there are no arguments. See also 
  982.         ".MC".
  983.         
  984.                          (12) .MC
  985.         
  986.              Mixed Case:  Normally, Turbo Braille 
  987.         uses standard composition signs to indicate 
  988.         capitalization.  This command restores the 
  989.         use of those signs and performs normal 
  990.         capitalization, after it has been suspended 
  991.         with a .LC command.  Usage:
  992.                             .MC
  993.         where there are no arguments. See also 
  994.         ".LC".
  995.         
  996.                          (13) .NE
  997.         
  998.              Need:  There are times when braille 
  999.         should not appear on a page with too few 
  1000.         remaining unused lines.  This command 
  1001.         specifies a "need" to have a minimum number 
  1002.         of unused lines remaining on the current 
  1003.         page before proceeding with the output.  If 
  1004.         fewer than the specified number of lines 
  1005.         remain, a new page is started.  This is the 
  1006.         Turbo Braille equivalent of the 
  1007.         "conditional page break" used in some word 
  1008.         processors.  Usage:
  1009.                            .NE #
  1010.         where "#" is the minimum number of lines 
  1011.         that must remain to permit output of the 
  1012.         text that follows.
  1013.         
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.                          (14) .NF
  1021.         
  1022.              No Fill:  Normally, Turbo Braille 
  1023.         ignores line breaks in the BIF file and 
  1024.         produces filled lines of text in the 
  1025.         braille output.  This command suspends the 
  1026.         filling process so that every new line in 
  1027.         the BIF file starts a new line of braille.  
  1028.         Usage:
  1029.                             .NF
  1030.         where there are no arguments. See also 
  1031.         ".BR" and ".FI".
  1032.         
  1033.                          (15) .PL
  1034.         
  1035.              Page Length:  This command specifies 
  1036.         the number of lines per braille page. It 
  1037.         may not exceed the maximum number of lines 
  1038.         specified for the particular printer 
  1039.         definition being used. Usage:
  1040.                            .PL #
  1041.                           .PL +#
  1042.                           .PL -#
  1043.         where "#" is the number of lines to use per 
  1044.         braille page, and "+#" or "-#" are relative 
  1045.         to the current page length.  The value of 
  1046.         "#" may not exceed the maximum number of 
  1047.         lines per page specified for the selected 
  1048.         printer definition.
  1049.         
  1050.                          (16) .PN
  1051.         
  1052.              Page Number:  This command lets you 
  1053.         keep track in the braille document of print 
  1054.         page numbers in the original material.  It 
  1055.         has no effect unless print page number 
  1056.         display has been selected with either the 
  1057.         ".TL" or the ".BL" command.  If the current 
  1058.         position is neither the top line nor the 
  1059.         bottom line of the current braille page, a 
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.         solid horizontal line is inserted across 
  1067.         the braille page, followed by the new print 
  1068.         page number.  If print page numbers advance 
  1069.         normally, no argument need be given with 
  1070.         this command.  You may specify a new print 
  1071.         page number if desired.  The page number 
  1072.         may be relative to the present print page 
  1073.         or an arbitrary page number.  Usage:
  1074.                             .PN
  1075.                            .PN #
  1076.                           .PN +#
  1077.                           .PN -#
  1078.         where "#" is the number of the new print 
  1079.         page, and "+#" or "-#" are relative to the 
  1080.         present page number.  See also ".BL", 
  1081.         ".BP", and ".TL".
  1082.         
  1083.                          (17) .PO
  1084.         
  1085.              Page Offset:  This command specifies 
  1086.         the number of leading spaces to add to each 
  1087.         line of braille before printing it or 
  1088.         writing it to a file.  Page offset affects 
  1089.         both left and right margins equally, and 
  1090.         comprises an area "to the left of position 
  1091.         one" which is not available for processing.  
  1092.         The argument may specify a change from the 
  1093.         current setting, or may specify an 
  1094.         arbitrary number of leading spaces.  The 
  1095.         default is no offset.  The page offset plus 
  1096.         the right margin may not exceed the maximum 
  1097.         number of cells per line specified for the 
  1098.         selected printer definition.  Usage:
  1099.                            .PO #
  1100.                           .PO +#
  1101.                           .PO -#
  1102.         where "#" is the number of positions to 
  1103.         offset the page, and "+#" or "-#" are 
  1104.         relative to the current page offset.  See 
  1105.         also ".IN", ".PP", ".RM", and ".TI".
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.         
  1113.                          (18) .PP
  1114.         
  1115.              Paragraph:  This command causes a 
  1116.         break in the text filling process, and 
  1117.         indents the next line two positions beyond 
  1118.         the current indentation.  Usage:
  1119.                             .PP
  1120.         where there are no arguments.  See also 
  1121.         ".IN", ".PO", ".RM", and ".TI".
  1122.         
  1123.                          (19) .RF
  1124.         
  1125.              Read File:  This command inserts the 
  1126.         contents of one file into another during 
  1127.         braille translation.  The inserted file is 
  1128.         assumed to be another BIF file, and may 
  1129.         contain text, dot commands, and imbedded 
  1130.         commands.  It may not contain another ".RF" 
  1131.         command.  Any number of ".RF" commands may 
  1132.         appear in the file, permitting large 
  1133.         documents to be created from several 
  1134.         smaller files, or the automatic inclusion 
  1135.         of standard "boiler plate" passages.  
  1136.         Usage:
  1137.                        .RF filename
  1138.         where "filename" may specify a file in the 
  1139.         current directory, or may specify another 
  1140.         device or directory as well as a file.  The 
  1141.         DOS wild card characters are not supported.  
  1142.         See also ".SB".
  1143.         
  1144.                          (20) .RH
  1145.         
  1146.              Running Header:  This command allows a 
  1147.         running title to be used in the braille 
  1148.         document.  Only one title may be in effect 
  1149.         at a time.  The title may appear at the top 
  1150.         of each page, at the bottom of each page, 
  1151.         or both, on odd pages only, on even pages 
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.         only, or on every page, as desired.  The 
  1159.         first and third arguments of the ".TL" or 
  1160.         the ".BL" commands determine the appearance 
  1161.         and location of the running title as a 
  1162.         header or footer, respectively. Usage:
  1163.                      .RH text of title
  1164.                 where "text of title" may be any 
  1165.         ordinary English text phrase.  Spring 
  1166.         characters and print enhancements may not 
  1167.         be used.  Capitalization and punctuation 
  1168.         are recognized, and imbedded grade change 
  1169.         commands are supported.  If no argument is 
  1170.         used, any previous title is canceled.  See 
  1171.         also ".BL" and ".TL".
  1172.         
  1173.                          (21) .RM
  1174.         
  1175.              Right Margin:  This command specifies 
  1176.         the last cell position on a braille line.  
  1177.         The argument may give a change from the 
  1178.         current setting, or may be an arbitrary 
  1179.         cell position.  The right margin plus the 
  1180.         page offset may not exceed the maximum 
  1181.         width of the line the printer can print.  
  1182.         The number of cells actually embossed on a 
  1183.         line is the right margin less the 
  1184.         indentation.  Usage:
  1185.                            .RM #
  1186.                           .RM +#
  1187.                           .RM -#
  1188.         where "#" is the rightmost cell position to 
  1189.         be embossed on a line, and "+#" or "-#" are 
  1190.         relative to the current right margin.  See 
  1191.         also ".IN", ".PP", ".PO", and ".TI".
  1192.         
  1193.                          (22) .SB
  1194.         
  1195.              Substitute:  A string of text may be 
  1196.         substituted for one of the letters of the 
  1197.         alphabet, which may then be used as an 
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.         imbedded command.  The .SB command defines 
  1205.         the substitution so that later references 
  1206.         to the letter in an imbedded command will 
  1207.         retrieve and insert the string at the point 
  1208.         of reference.  Substitutions may be defined 
  1209.         in one file and invoked in another with the 
  1210.         aid of the ".RF" command.  Usage:
  1211.                    .SB x string of text
  1212.         where "x" is any letter and "string of 
  1213.         text" is any desired information.  Upper 
  1214.         and lower case letters are not 
  1215.         distinguished for "x", but case is 
  1216.         respected in the string of text.  A space 
  1217.         must separate the command name from the 
  1218.         letter and the letter from the string.  No 
  1219.         special punctuation marks the start or end 
  1220.         of the string.  Substitutions may not be 
  1221.         nested.  See also ".RF" and the section on 
  1222.         imbedded commands.
  1223.         
  1224.                          (23) .SK
  1225.         
  1226.              Skip:  This command inserts one or 
  1227.         more blank lines into the braille document.  
  1228.         It works even if at top of page, where 
  1229.         ".SP" has no effect.  With no argument, one 
  1230.         blank line is inserted.  Usage:
  1231.                             .SK
  1232.                            .SK #
  1233.         where "#" is the number of blank lines to 
  1234.         insert.  See also ".SP".
  1235.         
  1236.                          (24) .SP
  1237.         
  1238.              Space:  This command inserts one or 
  1239.         more blank lines into the braille document.  
  1240.         It has no effect if at top of page.  With 
  1241.         no argument, one blank line is inserted.  
  1242.         Usage:
  1243.                             .SP
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.                            .SP #
  1251.         where "#" is the number of blank lines to 
  1252.         insert.  See also ".SK".
  1253.         
  1254.                          (25) .TI
  1255.         
  1256.              Temporary Indent:  The next line is 
  1257.         indented to the position, or by the number 
  1258.         of positions, given in the argument.  No 
  1259.         lasting effect on indentation occurs.  This 
  1260.         command permits "hanging indents" or 
  1261.         "undents" to be made, by first establishing 
  1262.         a permanent indentation of several 
  1263.         positions, and then temporarily indenting 
  1264.         the next line fewer positions.  Usage:
  1265.                            .TI #
  1266.                           .TI +#
  1267.                           .TI -#
  1268.         where "#" is the number of positions to 
  1269.         indent the next line only, and "+#" or "-#" 
  1270.         are relative to the current indentation and 
  1271.         are used to indent the next line only.  See 
  1272.         also ".IN", ".PO", and ".PP".
  1273.         
  1274.                          (26) .TL
  1275.         
  1276.              Top Line:  The top line of each 
  1277.         braille page may be used for text or may 
  1278.         contain a running title.  It may also 
  1279.         contain no page number, a roman or arabic 
  1280.         braille page number, or a print page number 
  1281.         at the right margin.  Identical running 
  1282.         titles and page numbers may be placed on 
  1283.         every page, or they may be separately 
  1284.         specified for odd numbered pages and even 
  1285.         numbered pages.  Usage:
  1286.                           .TL x,y
  1287.                          .TL x,y,1
  1288.                          .TL x,y,2
  1289.         where "x" is 0, 1, 2, or 3, for text on the 
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.         top line, blank space on the top line, a 
  1297.         left adjusted running title, or a centered 
  1298.         running title; and where "y" is 0, 1, 2, or 
  1299.         3 for no page number, roman braille page 
  1300.         number, arabic braille page number, or 
  1301.         print page number.  The optional 1 or 2 in 
  1302.         the third position applies the 
  1303.         specification to odd numbered pages (1) or 
  1304.         to even numbered pages (2).  The default 
  1305.         value is ".TL 0,2" to use the top line for 
  1306.         text only, with arabic braille page 
  1307.         numbers, on all pages.  See also ".PN", 
  1308.         ".BL", and ".RH".
  1309.         
  1310.                          (27) .X#
  1311.         
  1312.              Escape Sequence:  The .X# 
  1313.         dot commands (.X0, .X1, ...  .X9) are 
  1314.         different from other dot commands.  They 
  1315.         may not appear within a BIF file; they may 
  1316.         only appear on the Turbo Braille command 
  1317.         line or at the TBRL3> prompt.  If the 
  1318.         corresponding escape sequence exists, and 
  1319.         if the printer has been selected, the 
  1320.         sequence is sent to the printer.  The "/X" 
  1321.         interactive command must be used to define 
  1322.         the escape sequence, and the "/W" command 
  1323.         must be used to select the printer.  Usage:
  1324.                             .X#
  1325.         where "#" is a digit in the range from 0 to 
  1326.         9.  See also the "/X" Turbo Braille 
  1327.         command.
  1328.         
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.                      Imbedded Commands
  1336.         
  1337.              Imbedded commands may occur on the 
  1338.         same line as text in the BIF file, 
  1339.         sandwiched between words, or even imbedded 
  1340.         within a single word to achieve some 
  1341.         immediate effect.  Each imbedded command 
  1342.         begins with the backslash character "\" and 
  1343.         includes exactly one additional character:  
  1344.         either a letter, a digit, or a punctuation 
  1345.         mark.  If the additional character is also 
  1346.         a backslash character, then an ordinary 
  1347.         backslash is recognized.
  1348.         
  1349.              "\x", where "x" is a letter:  This 
  1350.         command inserts a string of text which must 
  1351.         previously have been defined in a ".SB" dot 
  1352.         command.  The resulting string may contain 
  1353.         still other imbedded commands, but may not 
  1354.         contain other substitutions.
  1355.         
  1356.              "\0", "\1", "\2", "\3", the grade 
  1357.         change commands:  These commands change the 
  1358.         grade of braille in the middle of 
  1359.         translation.  If you know that Turbo 
  1360.         Braille incorrectly translates something, 
  1361.         you can fix it temporarily with these grade 
  1362.         change commands.  To prevent "name" from 
  1363.         appearing in "ornament" you may use one of 
  1364.         several methods.  One is to surround the 
  1365.         "n" or the "a" of "name" with "\1" and "\2" 
  1366.         to change to grade 1 uncontracted braille 
  1367.         just for that letter.  Another method is to 
  1368.         insert "\2" between "n" and "a", or between 
  1369.         "a" and "m".  This is a request to change 
  1370.         from grade 2 to grade 2, which at first 
  1371.         glance does not make sense.  It does 
  1372.         however break up the word "name" quite 
  1373.         safely, so that Turbo Braille cannot find 
  1374.         it in its table of contractions.
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.         
  1382.              "\:", "\.", "\-", the spring 
  1383.         characters:  These expand when processed, 
  1384.         inserting as many spaces, guide dots, or 
  1385.         solid lines as are required to fill a line.  
  1386.         Guide dots use dot #5; solid lines use dots 
  1387.         #3 and #6.  Springs may be repeated in a 
  1388.         line as often as needed and in any order, 
  1389.         to achieve special formatting effects.  Do 
  1390.         not use them in lines being centered, since 
  1391.         centering uses a separate and incompatible 
  1392.         mechanism.
  1393.         
  1394.              "\@", "\#", "\%", page number 
  1395.         characters:  These commands let you refer 
  1396.         to the current braille page in roman 
  1397.         numerals (\@), to the current braille page 
  1398.         in arabic numerals (\#), or to the current 
  1399.         print page in standard textbook page number 
  1400.         format (\%).  Page numbers are placed on 
  1401.         the top line or the bottom line with the 
  1402.         dot commands ".TL" and ".BL", and not with 
  1403.         these imbedded commands.  If you need to 
  1404.         refer to the current braille or print page 
  1405.         anywhere else in a document, you may use 
  1406.         these commands.  They may also be used in 
  1407.         the strings of text of the ".SB" command, 
  1408.         so that when the letter substitution is 
  1409.         made, the correct current page number in 
  1410.         the desired format is used.
  1411.         
  1412.              "\!", "\_", print enhancement 
  1413.         characters:  These commands are toggles and 
  1414.         each must be used twice, once to turn its 
  1415.         action on, and once again to turn it off.  
  1416.         The "\!" controls boldface, and the "\_" 
  1417.         controls underscore.  Both boldface and 
  1418.         underscore are converted to italics in 
  1419.         braille.  These commands act independently 
  1420.         from one another, and independently from 
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.         the dot command ".IT".  You may not, for 
  1428.         example, start italics with one command and 
  1429.         expect to terminate it with another.  The 
  1430.         variety of methods for italicizing reflects 
  1431.         the fact that there are more methods for 
  1432.         enhancing printed text than there are for 
  1433.         enhancing braille text.
  1434.         
  1435.                        Why WordStar
  1436.         
  1437.              Students of computing should learn to 
  1438.         use WordPerfect because of its power and 
  1439.         its popularity, and WordStar because of its 
  1440.         power and its historical importance. 
  1441.         WordStar also has several advantages for 
  1442.         Turbo Braille users.
  1443.         
  1444.              Like Turbo Braille, WordStar uses a 
  1445.         mixture of "dot commands" and "imbedded 
  1446.         commands" to achieve format control. While 
  1447.         the Turbo Braille dot commands are not the 
  1448.         same as those of WordStar, both sets have 
  1449.         the same heritage: a mainframe text 
  1450.         formatter from Bell Laboratories called 
  1451.         "ROFF."
  1452.         
  1453.              Turbo Braille dot commands may be 
  1454.         entered directly into  WordStar documents 
  1455.         by using two initial periods, e.g. "..HL", 
  1456.         "..BR", "..DV 13", etc. This is possible 
  1457.         because WordStar treats lines starting with 
  1458.         two periods as comments, and ignores them. 
  1459.         Thus a print-perfect file can be made 
  1460.         nearly braille-perfect without additional 
  1461.         editing.
  1462.         
  1463.              When Turbo Braille converts WordStar 
  1464.         documents to BIF files for fine-tuning, 
  1465.         WordStar dot commands are copied into  the 
  1466.         BIF file with two initial periods. Turbo 
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.         Braille treats lines in a BIF file that 
  1474.         start with two initial periods as comments, 
  1475.         and ignores them.
  1476.         
  1477.              While WordPerfect provides a simple 
  1478.         method of creating documents from ASCII or 
  1479.         DOS TEXT files, and saving documents as 
  1480.         ASCII or DOS TEXT files,  it does not 
  1481.         provide a true ASCII editing capability. 
  1482.         The WordStar Non-Document mode, on the 
  1483.         other hand,  is a true ASCII editor. Our 
  1484.         experience indicates that editing BIF files 
  1485.         with WordPerfect is a risky business for 
  1486.         typical users. WordStar Non-Document 
  1487.         editing is much safer and more reliable. 
  1488.         Accidentally reformatting a BIF file while 
  1489.         it is temporarily a WordPerfect document 
  1490.         may "fill lines" by appending dot commands 
  1491.         to the ends of text lines, a disaster from 
  1492.         which it is difficult to recover.
  1493.         
  1494.              For these reasons, Turbo Braille and 
  1495.         WordStar are a more sympatico working team 
  1496.         than are Turbo Braille and WordPerfect. The 
  1497.         classic commands of WordStar have been 
  1498.         widely adopted by other software designers: 
  1499.         the Microsoft DOS 5.0 EDIT program, the 
  1500.         Borland Turbo language editors, and the 
  1501.         popular shareware editor QEDIT, to name 
  1502.         just a few. If you have not made a word 
  1503.         processor choice, you should take another 
  1504.         look at WordStar.
  1505.         
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.             The Turbo Braille Translation Rules
  1513.         
  1514.              The TurboBraille file TBRL.XLT 
  1515.         contains the rules by which the program 
  1516.         translates text into Grade I, Grade II, and 
  1517.         Grade III braille. The file is an ASCII 
  1518.         file and may be edited to add, delete, or 
  1519.         modify a rule. While such editing is 
  1520.         possible, it is difficult and risky, and 
  1521.         should not be undertaken lightly. The file 
  1522.         format and the structure of translation 
  1523.         rules is explained below.
  1524.         
  1525.              (1). Each translation rule is complete 
  1526.         on a single line of the file.
  1527.         
  1528.              (2). A translation rule begins with a 
  1529.         left brace ({) in the first position of the 
  1530.         line, and ends with a right brace (}) in 
  1531.         the last position.
  1532.         
  1533.              (3) Lines not starting and ending with 
  1534.         braces are not translation rules, and are 
  1535.         ignored by TurboBraille.
  1536.         
  1537.              (4). Each translation rule consists of 
  1538.         five components, with a comma and one or 
  1539.         more blank spaces separating each of the 
  1540.         five components from the next.
  1541.         
  1542.              (5). Three of the five components of a 
  1543.         translation rule are quoted strings, 
  1544.         strings  of characters that begin and end 
  1545.         with a double quote (").
  1546.         
  1547.              (6). If a quoted string must contain a 
  1548.         double quote within it, the double quote 
  1549.         must be preceded by the backslash, as in 
  1550.         the string "\"".
  1551.         
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.              (7). If a quoted string is to contain 
  1559.         the backslash character, the backslash must 
  1560.         appear twice in succession, as in the 
  1561.         string "\\".
  1562.         
  1563.              (8). Letters in quoted strings must be 
  1564.         in lower case.
  1565.         
  1566.              (9). The first component of a 
  1567.         translation rule is a quoted string called 
  1568.         the search string. It is the string 
  1569.         TurboBraille searches for, or tries to 
  1570.         match, in the text.
  1571.         
  1572.              (10). The second component of a 
  1573.         translation rule is a quoted string called 
  1574.         the substitution string. The substitution 
  1575.         string will be used in place of some or all 
  1576.         of the search string, if and only if the 
  1577.         substitution is permitted.
  1578.         
  1579.              (11). The third component of a 
  1580.         translation rule is an integer called the 
  1581.         class variable. The class variable 
  1582.         represents the condition or set of 
  1583.         conditions that must be true if the 
  1584.         substitution is permitted.
  1585.         
  1586.              (12). The fourth component of a 
  1587.         translation rule is a quoted string called 
  1588.         the action string. The action string is a 
  1589.         set of characters describing what action to 
  1590.         perform on a set of internal state 
  1591.         variables. A hyphen (-) means do not change 
  1592.         the corresponding state variable; the 
  1593.         letter "r" means "reset" the corresponding 
  1594.         state variable, or turn it off; the letter 
  1595.         "s" means "set" the corresponding state 
  1596.         variable, or turn it on; the letter "t" 
  1597.         means toggle the state variable, or turn it 
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.         off if it is on, and on if it is off.
  1605.         
  1606.              (13). The fifth component of a 
  1607.         translation rule is an integer called the 
  1608.         length variable. The length variable tells 
  1609.         how many of the characters of the search 
  1610.         string are to be replaced by the 
  1611.         substitution string. This value is usually 
  1612.         the same as the length of the target 
  1613.         string, but is often smaller.
  1614.         
  1615.              (14). There may be more than one 
  1616.         translation rule with the same search 
  1617.         string, since there is often more than one 
  1618.         way to translate a given piece of text.
  1619.         
  1620.              (15). Translation rules are considered 
  1621.         starting with the longest search strings, 
  1622.         and proceeding to successively shorter 
  1623.         ones. All translation rules with the same 
  1624.         length search strings are considered in 
  1625.         alphabetical order. All translation rules 
  1626.         with the same search string are considered 
  1627.         in the order in which they occur in the 
  1628.         file.
  1629.         
  1630.              (16). The order in which translation 
  1631.         rules appear in the file is not important, 
  1632.         except for rules with the same first 
  1633.         component, the search string. Such rules 
  1634.         are considered one after another in the 
  1635.         order in which they occur in the file. 
  1636.         Otherwise it is not important whether short 
  1637.         or long items come first, or whether 
  1638.         alphabetical order is observed. 
  1639.         TurboBraille orders the rules first by 
  1640.         length of search string and then 
  1641.         alphabetically.
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.                   History Of KANSYS, Inc.
  1649.         
  1650.              Located in Lawrence, Kansas, and 
  1651.         founded in 1976, KANSYS, Inc. develops 
  1652.         computer products and provides computer-
  1653.         based services of value to the blind. Its 
  1654.         principal products are PROVOX, a screen 
  1655.         access program for desktop PC systems; and 
  1656.         TurboBraille, an easy-to-use and powerful 
  1657.         program to translate source documents into 
  1658.         standard literary English braille. Services 
  1659.         offered by KANSYS, Inc. include the 
  1660.         production of braille menus, newsletters, 
  1661.         conference agendas, telemarketing prospect 
  1662.         lists, and similar materials.
  1663.         
  1664.              Dr. Charles Hallenbeck, president and 
  1665.         founder of KANSYS, Inc. has received formal 
  1666.         training both in rehabilitation and in 
  1667.         computer science. With many years of 
  1668.         personal experience in the alternative 
  1669.         techniques of blindness, Dr. Hallenbeck has 
  1670.         worked actively in the joint areas of 
  1671.         rehabilitation and computing since the 
  1672.         1960's. The company was established as a 
  1673.         Kansas corporation to facilitate sharing 
  1674.         with others the solutions to blindness 
  1675.         which have been devised or refined 
  1676.         throughout his varied professional career. 
  1677.         University based grants for research on 
  1678.         computer tactography and synthesized-
  1679.         message/synthesized-speech  information 
  1680.         access techniques for the blind formed the 
  1681.         scientific background for products of 
  1682.         KANSYS, Inc. 
  1683.         
  1684.              Following a year of advanced training 
  1685.         at Carnegie-Mellon University in 1976-1977, 
  1686.         Dr. Hallenbeck developed one of the first 
  1687.         talking terminal devices based on the 1977 
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.         Digital Group "hobby computer," an early 
  1695.         innovative design which did not survive the 
  1696.         early competition. That project culminated 
  1697.         in speech access to the CP/M operating 
  1698.         environment in the early 1980's, and to MS-
  1699.         DOS thereafter. The KANSYS, Inc. solution 
  1700.         to computer access by speech is known as 
  1701.         PROVOX, and is used effectively by several 
  1702.         hundred blind individuals at home, in 
  1703.         schools, and on the job, throughout this 
  1704.         country and in several foreign countries.
  1705.         
  1706.              TurboBraille has been available from 
  1707.         KANSYS, Inc. only since 1989, but has 
  1708.         extensive roots in earlier work by Dr. 
  1709.         Hallenbeck and others. Writing software to 
  1710.         produce computer braille was the focus of 
  1711.         Dr. Hallenbeck's Special Post-Doctoral 
  1712.         Fellowship at the Washington University 
  1713.         Department of Applied Mathematics and 
  1714.         Computer Science from 1967 to 1969, and has 
  1715.         continued to receive his attention since 
  1716.         that time. The first braille embosser for 
  1717.         personal computers was introduced in 1983, 
  1718.         and within a few weeks, KANSYS, Inc. had 
  1719.         produced a CP/M program in the "C" language 
  1720.         to translate documents into the required 
  1721.         codes to operate the device. The increased 
  1722.         power and standardization of the IBM PC 
  1723.         became available soon after, and the newly 
  1724.         developed software made the transition and 
  1725.         supported the production efforts mentioned 
  1726.         earlier. Finally, a commercial version was 
  1727.         offered under the name TurboBraille 
  1728.         beginning in 1989, and that product 
  1729.         currently enjoys considerable success and 
  1730.         popularity.
  1731.  
  1732.  
  1733.  
  1734.